<div class="animated" ng-class="{true: 'fadeInRight', false:'fadeInLeft'}[currentAnimated]">
  <div class="row search-area">
    <div class="col-xs-6 col-md-6 col-sm-7">
     <div class="btn-group" role="group">
      <a ui-sref=".add" class="btn btn-default" title="新增"><i class="fa fa-plus-circle"></i><span class="hidden-xs">新增</span></a>
      <a ng-click="approve()" class="btn btn-default" title="通过审批"><i class="fa fa-check"></i><span class="hidden-xs">通过审批</span></a>
      <!-- <a ng-click="remove()" class="btn btn-default" title="删除"><i class="fa fa-trash"></i><span class="hidden-xs">删除</span></a> -->
      </div>
   </div>

   <div class="col-xs-6 col-md-6 col-sm-5">
     <!-- <form class="form-inline pull-right">
       <div class="input-group" >
          <input type="text" class="form-control" name="title" placeholder="文章标题" ng-model="article.title">
         <span class="input-group-btn">
           <button class="btn btn-primary" type="button" ng-click="search()"><i class="fa fa-search"></i><span class="hidden-xs hidden-sm">搜索</span></button>
         </span>
       </div>
       <a class="btn btn-default" data-toggle="modal" data-backdrop="static" data-target="#advancedSearch"><i class="fa fa-filter"></i><span class="hidden-xs hidden-sm">高级搜索</span></a>
     </form> -->
   </div>
  </div>

  <div class="row">
    <div class="col-xs-12 col-md-12">
      <div ui-grid="gridOptions" ui-grid-selection ui-grid-pagination ui-grid-resize-columns ui-grid-move-columns class="grid"></div>
    </div>
  </div>
</div>

<!-- <script type="text/javascript">
$('#advancedSearch').on('shown.bs.modal', function () {
  $(".modal-backdrop").css({"position": "static"});
}).on('hidden.bs.modal', function(){
  $(".modal-backdrop").css({"position" : "fixed"});
});
</script> -->